<meta charset="utf-8" />
<?php
include("connectDB.php");
	$map= $_GET['p_ID'];
	$sql="delete from phong where maphong='$map'";
	if(mysql_query($sql))
	{
		?>
		<script language = "javascript">
		alert("Xóa thành công");
		self.location = "http://localhost/web-ktx/admin/?mod=phong&do=dsphong";
		</script>
		<?php
			}
			else
			{
		?>
		<script language = "javascript">
		alert("Xóa không thành công");
		self.location = "http://localhost/web-ktx/admin/?mod=phong&do=dsphong";
		</script>
		<?php
			
	}
?>